package io.renren.modules.lucky.task;

import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("api/test")
@Api(tags="招财猫基础接口")
@AllArgsConstructor
public class TaskTestController {

    private final LuckyReportTask luckyReportTask;

    @GetMapping("/test")
    public void test() {
        luckyReportTask.saveReport();
    }
}
